<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="common/include :: header('部门')" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<table th:dept:${dept}>
    <tr>
        <td>部门名称</td>
        <td th:text="${dept.name}"></td>
    </tr>
    <tr>
        <td>部门缩写</td>
        <td th:text="${dept.sn}"></td>
    </tr>
</table>
<th:block th:include="common/include :: footer" />
<!--<script th:inline="javascript">
    var editFlag = [[${@permission.hasPermi('business:department:edit')}]];
    var removeFlag = [[${@permission.hasPermi('business:department:remove')}]];
    var prefix = ctx + "/business/department";

    $(function() {
        var options = {
            url: prefix + "/query",
            createUrl: prefix + "/addPage",
            updateUrl: prefix + "/editPage?id={id}",
            removeUrl: prefix + "/remove",
            uniqueId:'id',
            modalName: "部门信息",
            columns: [
                {
                    field: 'id',
                    title: '',
                    visible: false
                },
                {
                    field: 'name',
                    title: '部门名称'
                },{
                    field: 'sn',
                    title: '部门缩写'
                }]
        };
        $.table.init(options);
    });
</script>-->
</body>
</html>